<template>
  <div id="index">
    <index_video_play></index_video_play>
    <index_center></index_center>
  </div>


</template>

<script>
  import Index_video_play from './index/IndexVideoPlay'
  import Index_center from './index/IndexCenter'
  export default {
    name: 'index',
    data () {
      return {
        search_key:''
      }
    },
    components:{
      "index_video_play":Index_video_play,
      "index_center":Index_center
    },
    created() {
      if(localStorage.getItem('token')){
        this.$store.state.login_status=true
      }
      else{
        this.$store.state.login_status=false
      }
    }

  }
</script>
<style scoped>
#index{

  width: 100%;
  margin: auto;
}
#index .header{
  width: 1180px;
}
</style>

